package com.reformer.commons.constant;

public enum KeyType {

    MD5("MD5", 32),
    DSA1024("DSA", 1024),
    RSA1024("RSA", 1024),
    DSA2048("DSA", 2048),
    RSA2048("RSA", 2048);

    private String name;
    private int length;

    KeyType(String name, int length) {
        this.name = name;
        this.length = length;
    }

    public String getName() {
        return this.name;
    }

    public int getLength() {
        return this.length;
    }
}